<!DOCTYPE html>
<!-- saved from url=(0028)https://sso.ifanr.com/login/ -->

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <title>登录 - 爱范儿</title>
  <meta name="viewport" content="initial-scale=1, maximum-scale=2, minimum-scale=1, user-scalable=no" />
  <link rel="stylesheet" href="{{ url('/hom/login/css/home_login.css') }}" type="text/css" />
</head>
<body class="sso-user-login sso-login">
  <div class="cover js-cover"></div>
  <div class="cover-black js-cover-black"></div>
  <div class="sso-top-header clearfix">
    <div class="center-wrapper">
      <a class="header-logo f-l" href="#" title="爱范儿 · Beats of Bits"><img src="{{ url('/hom/login/imgs/logo.png') }}" /></a>
    </div>
  </div>  
  <div class="menu-box js-menu-box"></div>
  <div class="container" id="container">
    <div id="container-inner" class="clearfix">
      <div id="content-login" class="clearfix">
        <div class="proper-window-container js-modal-login">
          <div class="proper-window-content">
            <ul class="modal-tabs">
              <li class="f-l js-tab-login active"><a href="{{ url('/home/login') }}">登录</a></li>

              <li class="f-r js-tab-register"><a href="{{ url('/home/register') }}">注册</a></li>
            </ul>
               @if(session('info'))
            <div style="width:100%;text-align: center;margin-bottom: 10px;color:red">
               {{ session('info') }}
            </div>
               
            @endif

            @if(count($errors) > 0)            
               
                  <div style="width:100%; text-align: center;margin-bottom: 10px;color:red">
                    <ul>
                       @foreach ($errors->all() as $error)
                       <li>{{ $error }}</li>
                     @endforeach
                     </ul>
                  </div>
              @endif

            <form action="{{ url('/home/dologin') }}" class="uc-modal-normal modal-login js-login-form active" method="post">
         
              {{ csrf_field() }}
              <input type="hidden" name="ucate" value="0" />
              <input type="text" name="email" placeholder="请输入邮箱地址" class="js-login-email"/>
              <input type="password" name="password" placeholder="请输入密码" class="js-login-password" />
              <div style="float:left;position: relative;">
                <input placeholder="输入验证码" type="text" name="captcha" class="js-login-password" style="width: 190px;">                
              </div>              
              <div style="float:left;position: absolute; width: 100px;height: 33px; margin-left:230px;">                
                <a onclick="javascript:re_captcha();" width="130px" height="33px">
                <img src="{{ URL('kit/captcha/1') }}" alt="验证码" title="刷新图片" width="100%" height="33px" id="c2c98f0de5a04167a9e427d883690ff6" class="js-login-email" border="0">
              </a>
              </div>
                            
              <button type="submit" data-action="login" class="btn-uc js-login-btn">登录</button>
              <p><a class="forget-password " href="{{ url('/home/forget') }}">忘记密码</a></p><br>
             
            </form>
          </div>
        </div>
      </div>
    </div>
  </div>
<!-- jQuery 2.1.4 -->
<script src="/adm/plugins/jQuery/jQuery-2.1.4.min.js"></script>
  <script type="text/javascript">
    
     // 验证码
  function re_captcha() {
    $url = "{{ URL('kit/captcha') }}";
        $url = $url + "/" + Math.random();
        document.getElementById('c2c98f0de5a04167a9e427d883690ff6').src=$url;
    }
  </script> 

</script>
</body>
</html>
